import InterfaceCenter from '/imports/pages/interface/interface-center.vue'

import EditInterface from '/imports/pages/interface/interface-edit.vue'
import InterfaceDetail from '/imports/pages/interface/interface-detail.vue'
import InterfaceDashboard from '/imports/pages/interface/interface-dashboard.vue'

export default [{
  path: 'interface',
  component: InterfaceCenter,
  children: [
    {
      path: '',
      name: 'project-interface',
      component: InterfaceDashboard
    },
    {
      path: 'interface-dashboard',
      name: 'interface-dashboard',
      component: InterfaceDashboard
    },
    {
      path: 'interface/add',
      name: 'add-interface',
      component: EditInterface
    }, {
      path: 'interface/edit:interfaceId',
      name: 'edit-interface',
      component: EditInterface
    }, {
      path: 'interface/:interfaceId',
      name: 'interface-detail',
      component: InterfaceDetail
    }
  ]
}]
